package org.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;
import org.example.entity.Aircraft;
import org.example.entity.Time;

import java.util.List;

public interface AircraftService extends IService<Aircraft> {
    List<Aircraft> getGratia();

    Integer[] getAreaId(String area1,String area2);

    Double getMinPrice(String date,Integer area1,Integer area2);

    List<Aircraft> getAircraftList(String date, String area1, String area2, List<Time> list, List<Integer> company);

    List<String> getCompany(String date);

    Integer getSeatLeft(Integer id);


}
